package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.crm.model.pojo.CareType;

public interface LLJ_CareTypeDao extends CrudRepository<CareType,Long >{

	 @Query("select new cn.gson.crm.model.pojo.CareType(c.careCategory, c.careContain) from  CareType c order by c.id desc")
	 public List<CareType> findCareTypeDate();      
}   
